package com.jenings.jzshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/admin")
public class AdminController {
    //添加管理员
    @RequestMapping("/admin_add")
    public String admin_add() {
        return "admin-add";
    }
    //管理员列表
    @RequestMapping("/admin_list")
    public String admin_list(){
        return  "admin-list";
    }
    //管理员修改密码
    @RequestMapping("/admin_password_edit")
    public String admin_password_edit(){
        return  "admin-password-edit";
    }
    //管理员个人中心
    @RequestMapping("/admin_permission")
    public String admin_permission(){
        return  "admin-permission";
    }
    //管理员权限
    @RequestMapping("/admin_role")
    public String admin_role(){
        return  "admin-role";
    }
    //管理员权限添加
    @RequestMapping("/admin_role_add")
    public String admin_role_add(){
        return  "admin-role-add";
    }
}
